// headfile creat time：2023-12-11 09:37:20
// developer name：25613
#ifndef __IIR_COEFFS4_H_
#define __IIR_COEFFS4_H_


#define SOS4_NUM (25U)

const float iir4_coeffs_B[SOS4_NUM*3] = {
    1.000000, -1.956295, 1.000000,
    1.000000, -1.956295, 1.000000,
    1.000000, -1.956295, 1.000000,
    1.000000, -1.956295, 1.000000,
    1.000000, -1.956295, 1.000000,
    1.000000, -1.956295, 1.000000,
    1.000000, -1.956295, 1.000000,
    1.000000, -1.956295, 1.000000,
    1.000000, -1.956295, 1.000000,
    1.000000, -1.956295, 1.000000,
    1.000000, -1.956294, 1.000000,
    1.000000, -1.956292, 1.000000,
    1.000000, -1.956288, 1.000000,
    1.000000, -1.956278, 1.000000,
    1.000000, -1.956253, 1.000000,
    1.000000, -1.956194, 1.000000,
    1.000000, -1.956051, 1.000000,
    1.000000, -1.955708, 1.000000,
    1.000000, -1.954872, 1.000000,
    1.000000, -1.952801, 1.000000,
    1.000000, -1.947434, 1.000000,
    1.000000, -1.931877, 1.000000,
    1.000000, -1.871170, 1.000000,
    1.000000, -1.231126, 1.000000,
    1.000000, -1.956295, 1.000000,
};

const float iir4_coeffs_A[SOS4_NUM*3] = {
    1.000000, 1.956295, -1.000000,
    1.000000, 1.956295, -1.000000,
    1.000000, 1.956295, -1.000000,
    1.000000, 1.956295, -1.000000,
    1.000000, 1.956295, -1.000000,
    1.000000, 1.956295, -1.000000,
    1.000000, 1.956295, -1.000000,
    1.000000, 1.956295, -1.000000,
    1.000000, 1.956295, -1.000000,
    1.000000, 1.956295, -0.999999,
    1.000000, 1.956294, -0.999998,
    1.000000, 1.956292, -0.999994,
    1.000000, 1.956289, -0.999986,
    1.000000, 1.956279, -0.999967,
    1.000000, 1.956257, -0.999921,
    1.000000, 1.956204, -0.999811,
    1.000000, 1.956077, -0.999548,
    1.000000, 1.955773, -0.998919,
    1.000000, 1.955052, -0.997430,
    1.000000, 1.953377, -0.993965,
    1.000000, 1.949644, -0.986246,
    1.000000, 1.942128, -0.970705,
    1.000000, 1.930108, -0.945849,
    1.000000, 1.918820, -0.922509,
    1.000000, 1.956295, -1.000000,
};

const float iir4_scaleFactors[SOS4_NUM] = {
    0.891251, 1.000000, 1.000000,
    1.000000, 1.000000, 1.000000,
    0.999999, 0.999998, 0.999996,
    0.999990, 0.999976, 0.999942,
    0.999861, 0.999666, 0.999200,
    0.998080, 0.995399, 0.988993,
    0.973795, 0.938317, 0.858610,
    0.694980, 0.422056, 0.145086,
    0.004035,
};

float iir4_delayLine[SOS4_NUM * 4U];

float iir4_in, iir4_out;

#endif
